//
//  UILable+Extension.swift
//  RCWeibo
//
//  Created by CL on 15/12/23.
//  Copyright © 2015年 CL. All rights reserved.
//

import UIKit


extension UILabel{

    //便利构造函数
    convenience init(title: String, color: UIColor, fontSize: CGFloat){
    
        self.init()
        
        text = title
        textColor = color
        textAlignment = .Center
        font = UIFont.systemFontOfSize(fontSize)
        numberOfLines = 0
        sizeToFit()

    
    }
    
    
}
